<template>
	<!--缺损页-->
	<div class="defect">
		<img src="../assets/img/images/defect-icon_05.png" v-if="defectdata.type=='tpbrowse'"  class="defect-icon"/>
		<img src="../assets/img/images/images/icon_nocomment_management.png" v-if="defectdata.type=='TpReview'" class="defect-icon"/>
		<img src="../assets/img/images/icon_nocoupon.png" v-if="defectdata.type=='TpCoupon'"  class="defect-icon"/>
		<p class="defect-text">{{defectdata.msg}}</p>
	</div>
</template>

<script>
	export default{
		neme:"defect",
		props: ["defectdata"],
		mounted(){}
	}
</script>

<style scoped>
	.defect{
		position: fixed;
		top: 2.2rem;
		width: 100%;
		height: 100%;
		background: #fff;
		text-align: center;
		font-size: .31rem;
		color: #A4A4A4;
		padding-top: 1.8rem;
		box-sizing: border-box;
	}
	.defect-icon{
		width: 1.4rem;
		margin-bottom: .49rem;
	}
</style>